//
//  MyAlertOptionView.h
//  BaseLib
//
//  Created by CPX on 2018/6/15.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "FullMaskView.h"

typedef void(^MyAlertOptionBlock)(NSInteger btnIdx, NSInteger selectedIdx);

/**
 普通弹框
 @author yzl
 */
@interface MyAlertOptionView : FullMaskView

+ (instancetype)viewWithOptions:(NSArray*)options selectIdx:(NSInteger)idx;

- (void)addActionWithTitle:(NSString*)title color:(UIColor*)color;

@property (nonatomic,copy) MyAlertOptionBlock block;

@end
